#ifndef INCLUDED_CHARACTER_H
#define INCLUDED_CHARACTER_H

#include<SGE.h>
using namespace SGE;

class Map;

class Character
{
public:
	Character();
	~Character();

	void Load();
	void Unload();
	void Update(float deltaTime, const Map& map);
	void Render(const SVector2& viewOffset);

	SRect GetBoundingBox() const;

	void SetPosition(const SVector2& pos) { mPosition = pos; }
	const SVector2& GetPosition() const   { return mPosition; }

private:
	SGE_Sprite mSprite;
	SVector2 mPosition;
};

#endif // #ifndef INCLUDED_CHARACTER_H